using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_PAGE_TEXT_QUERY_RESPONSE_DEF : DefinitionBase
    {
        
        public override bool Process()
        {
            ResetPosition();
            var tPageText = new PageText();
            tPageText.PageId = ReadUInt32();
            tPageText.Text = ReadString();
            tPageText.NextPageId = ReadUInt32();
            //GlobalCache.addp
            base.Warning = tPageText.Text;
            return Validate();
        }
    }
}

